	
	<?php echo validation_errors(); ?>
	
	<form id="customForm" method="post" action="<?php echo $action?>">
		
		<input type="hidden" id="typeid" name="typeid" value="<?php if(isset($typeid)) echo $typeid?>" />
		
		<label><?php echo lang('general_type').' '.lang('general_code')?></label>
		<input type="text" id="type_code" name="type_code" value="<?php echo set_value('type_code'); if(isset($type_code)) echo $type_code?>" />

		<label><?php echo lang('form_label_description')?></label>
		<input type="text" id="description" name="description" value="<?php echo set_value('description'); if(isset($description)) echo $description?>" />
		
		<label><?php echo lang('form_label_info')?></label>
		<textarea id="info" name="info"><?php echo set_value('info'); if(isset($info)) echo $info?></textarea>
		
		<input type="submit" id="submit" name="submit" value="<?php echo lang('form_label_save')?>" />
	</form>
